package com.itheima.test;

import java.util.Arrays;

public class Test05 {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5};
        int[] arr1;
        arr1 = Arrays.copyOf(arr, 5);
        System.out.println(Arrays.toString(arr1));

    }
}
